package cn.vc.basicmodule.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component("logProperties")
@ConfigurationProperties(prefix = "logproperties")//绑定配置文件属性
public class LogProperties {
    /**
     * <h2>是否显示时间</h2>
     */
    private Boolean isShowTime = true;
    /**
     * <h2>是否显示行数</h2>
     */
    private Boolean isShowLineNumber = true;
    /**
     * <h2>是否显示包地址</h2>
     */
    private Boolean isShowClassName= true;
}
